<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"  "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>网站后台管理</title>
	<link rel="stylesheet" type="text/css" href="/easyui/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="/easyui/themes/icon.css">
	<script type="text/javascript" src="/easyui/jquery-1.7.2.min.js"></script>
	<script type="text/javascript" src="/easyui/jquery.easyui.min.js"></script>
	<script type="text/javascript" src="/easyui/locale/easyui-lang-zh_CN.js"></script>
	<script type="text/javascript" charset="utf-8" src="/ueditor/editor_config.js"></script>
	<script type="text/javascript" charset="utf-8" src="/ueditor/editor_all_min.js"></script>
	<link rel="stylesheet" type="text/css" href="/ueditor/themes/default/ueditor.css"/>
	<script type="text/javascript">
	function showtab(title,hrefs,closeables,seleecteds)
	{
		addtab('content',title,hrefs,closeables,seleecteds);
	}
	function addtab(ids,titles,hrefs,closeables,selecteds,contents,caches,iconClss,widths,heights)
	{
		if($('#'+ids).tabs('getTab',titles))
			{
				$('#'+ids).tabs('select',titles);
			}
			else
			{
				$('#'+ids).tabs('add',{
					title:titles,
					content:contents,
					href:hrefs,
					cache:caches,
					iconCls:iconClss,
					width:widths,
					height:heights,
					closable:closeables,
					selected:selecteds
				 });
			}
	}

	</script>
</head>
<body class="easyui-layout">
	<div data-options="region:'north',border:false" style="height:60px;background:#B3DFDA;padding:10px">网站管理系统 POWER BY 小马</div>
	<div data-options="region:'west',split:true,title:'列表选项'" style="width:300px;">
	<div id="aa" class="easyui-accordion" style="width:700px;height:300px;">
		<div title="基本设置" data-options="" style="overflow:auto;">

			<p><a href="#" onclick="showtab('网站设置','/index.php?c=setting',true)">网站设置</a></p>
			<p><a href="#" onclick="showtab('管理员修改','/index.php?c=AdminEdit',true)">管理员修改</a></p>
			<!--p><a href="#" onclick="showtab('邮箱设置','',true)">邮箱设置</a></p>
			<p><a href="#" onclick="showtab('联系方式','',true)">联系方式</a></p-->
		</div>
		<div title="内容管理" style="padding:10px;">
			<p><a href="#" onclick="showtab('公司简介','',true)">公司简介</a></p>
			<p><a href="#" onclick="showtab('公司动态','/index.php?c=news',true)">公司动态</a></p>
			<p><a href="#" onclick="showtab('产品中心','/index.php?c=products',true)">产品中心</a></p>
			<p><a href="#" onclick="showtab('联系我们','',true)">联系我们</a></p>

		</div>
	</div>

	</div>

	<div data-options="region:'south',border:false" style="height:50px;background:#A9FACD;padding:10px;">网站管理系统 POWER BY 小马</div>
	<div data-options="region:'center',title:'内容中心'">
	<div class="easyui-tabs" id="content" data-options="fit:true,border:false">
			<div title="后台首页" style="padding:20px;overflow:hidden;" closable="true">
				<div style="margin-top:20px;">
					<div style="margin-left:20px;width:40%;height:300px;float:left;border:1px #8DB2E3 solid;">
<style>
table{color:#8DB2E3;}
table caption {color:#000;font-size:16px;font-weight:bold;}
table tr {color:#000;}
</style>
  <table width="100%" border=1 cellspacing=0 cellpadding=15 >
  <br />
  <caption>网站基本信息统计</caption>
  <br />

    <tr>
      <th> </th><th>文章数量</th><th>产品数量</th><th>留言数量</th>
    </tr>
    <tr>
      <td>一天</td><td><?=$data['Nday']?></td><td><?=$data['Pday']?></td><td><?=$data['Gday']?></td>
    </tr>
    <tr>
     <td>一周</td> <td><?=$data['Nweek']?></td><td><?=$data['Pweek']?></td><td><?=$data['Gweek']?></td>
    </tr>
    <tr>
      <td>一个月</td><td><?=$data['Nmonth']?></td><td><?=$data['Pmonth']?></td><td><?=$data['Gmonth']?></td>
    </tr>
    <tr>
      <td>一年</td><td><?=$data['Nyear']?></td><td><?=$data['Pyear']?></td><td><?=$data['Gyear']?></td>
    </tr>
  </table>


					</div>
					<div style="margin-left:20px;width:40%;height:300px;float:left;border:1px #8DB2E3 solid;">
					<p><strong>版本号：</strong>CMS 1.0</p>
					</div>
				</div>
			</div>
		</div>

	</div>
</body>
</html>